tests: Use temporary gpg homedir
authorDan Nicholson <nicholson@endlessm.com>
Wed, 3 Jun 2015 19:54:36 +0000 (12:54 -0700)
committerColin Walters <walters@verbum.org>
Fri, 5 Jun 2015 00:58:14 +0000 (20:58 -0400)
commite228e0f142a8de24c3763e75fe0304a72d4bb280
treee883361364f5bb80e50ad48c72052bace13bdf77
parent2e0521804d26f0804f86fbba9d06884b82720cc8
tests: Use temporary gpg homedir

libtest always makes a copy of the gpghome directory to the test
directory, so there's no need to operate on the installed copy. This
allows test-remote-gpg-import to pass as an unprivileged user since it
otherwise couldn't create the temp files gpgme creates.
tests/test-commit-sign.sh
tests/test-remote-gpg-import.sh